package com.scs.application.modules.adm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
/**
 * <p>
 * 耗材准入询价结果
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "耗材准入询价结果")
@TableName("adm_matr_inquiry_result")
public class MatrInquiryResult extends DataEntity {


    // id ,在父类中处理


    @EntityFieldAnnotation(
            text = "供应商代码",
            length = "30",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String supplierCode;

    @EntityFieldAnnotation(
            text = "供应商名称",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String supplierName;

    @EntityFieldAnnotation(
            text = "投标价",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double skuPriceBid;

    @EntityFieldAnnotation(
            text = "报价日期",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Date bidDate;

    @EntityFieldAnnotation(
            text = "报价说明",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String bidRemark;

    @EntityFieldAnnotation(
            text = "报价状态",
            length = "30",
            not_null = false,
            default_value = "",
            comment = "放弃；超期；正常"
    )
    private String bidStatus;
    @EntityFieldAnnotation(
            text = "adm_matr_audit.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String auditId;

    @EntityFieldAnnotation(
            text = "adm_matr_audit_item.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String auditItemId;
}
